package com.whw.springboot.bcucb.service;

import java.util.Date;
import java.util.List;
import com.whw.springboot.bcucb.entity.Download;
import com.whw.springboot.bcucb.entity.Message;

public interface DownloadService{


    Message<?> deleteByPrimaryKey(Integer downloadId);

    Message<?> insert(Download record);

    Message<?> insertSelective(Download record);

    Message<Download> selectByPrimaryKey(Integer downloadId);

    Message<?> updateByPrimaryKeySelective(Download record);

    Message<?> updateByPrimaryKey(Download record);

    Message<List<Download>> selectByAll();

    Message<List<Download>> selectByCaseId(String caseId);

    Message<List<Download>> selectByUserId(String userId);

    Message<List<Download>> selectByUserIdAndDate(String date,String dates, String userId);

    Message<List<Download>> selectByCaseIdAndDate(String date,String dates, String caseId);

    Message<List<Download>> selectByAllAndDate(String date,String dates);

}
